<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<script type="text/javascript" src="./dist/jquery-3.2.1.js"></script>
	<script type="text/javascript" src="./dist/js/bootstrap.js"></script>
	<link rel="stylesheet" type="text/css" href="./dist/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="./fontsize/iconfont.css">
	<title></title>
</head>
<style type="text/css">
	.navs{
		padding:15px 15px;
		display:none;
	}
</style>
<body>
<div class="container">
	<h1 class='page-header'>标签页实例</h1>
	<div class="row">
		<div class="col-md-2">
		<ul class='nav nav-pills nav-stacked'>
			<li class='active'><a href="">baidu</a></li>
			<li class=''><a href="">baidu</a></li>
			<li class=''><a href="">baidu</a></li>	
		</ul>			
		</div>
		<div class="col-md-10">
			<div class='row navs'>
			<p>1“That’s not the way to go about it,” said Bart. “It isn’t parliamentary. Let’s do business regularly. Come. I rise, Mr. President, to make a motion. I move that the B. O. W. C. continue their wanderings as long as the holidays last.”</p>
			</div>
			<div class='row navs'>
			<p>2“That’s not the way to go about it,” said Bart. “It isn’t parliamentary. Let’s do business regularly. Come. I rise, Mr. President, to make a motion. I move that the B. O. W. C. continue their wanderings as long as the holidays last.”</p>
			</div>
			<div class='row navs'>
			<p>3“That’s not the way to go about it,” said Bart. “It isn’t parliamentary. Let’s do business regularly. Come. I rise, Mr. President, to make a motion. I move that the B. O. W. C. continue their wanderings as long as the holidays last.”</p>
			</div>			
		</div>		
	</div>
</div>
</body>
<script type="text/javascript">

	$('li').mouseenter(function(){
		$(this).addClass('active');
		$(this).not($(this)).stop().removeClass('active');
		idx=$(this).index('li');
		$('.navs').eq(idx).show(500);
		$('.navs').not($('.navs').eq(idx)).stop().hide(500);
	})
	$('.navs').eq(0).show(100);	
</script>
</html>